syncdoc-type-hierarchy.el: Sort and remove `comp` dependency
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 10 Mar 2024 19:12:00 +0000 (15:12 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 10 Mar 2024 19:12:00 +0000 (15:12 -0400)
commitc17ecd2dcd27b73d673df51ce66f4b188afff6db
treea9b07861656d159b100cb1b26c3770dd7f146429
parent2fdb281a276af57c104008d68ae95c7f4b1c3da8
syncdoc-type-hierarchy.el: Sort and remove `comp` dependency

* admin/syncdoc-type-hierarchy.el: Delay loading `org-table` so as
not to "pollute" the table with Org-specific types.
(syncdoc-all-types): Sort the types topologically from the root.
(syncdoc-hierarchy): Use `cl--class-parents` instead if
`comp--direct-supertypes` so we don't depend on `comp-cstr`.
(syncdoc-make-type-table): Sort the table so supertypes always come before
their subtypes.
(syncdoc-make-type-table): Require `org-table` here.

* doc/lispref/elisp_type_hierarchy.jpg:
* doc/lispref/elisp_type_hierarchy.txt: Refresh.
admin/syncdoc-type-hierarchy.el
doc/lispref/elisp_type_hierarchy.jpg
doc/lispref/elisp_type_hierarchy.txt